import { $t } from "@/plugins/i18n";

export default {
  path: "/wip-tracking",
  redirect: "/wip-tracking/basic-function",
  meta: {
    icon: "informationLine",
    title: $t("wip-tracking"),
    rank: 4
  },
  children: [
    {
      path: "/wip-tracking/basic-function",
      name: "BasicFunction",
      component: () => import("@/views/error/403.vue"),
      meta: {
        keepAlive: true,
        title: $t("basic-function")
      },
      children: [
        {
          path: "/wip-tracking/basic-function/operator-panel",
          name: "OperatorPanel",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("operator-panel")
          },
        },
        {
          path: "/wip-tracking/basic-function/lot-tracking",
          name: "LotTracking",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-tracking")
          },
        },
        {
          path: "/wip-tracking/basic-function/lot-trans-history",
          name: "LotTransHistory",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-trans-history")
          },
        },
        {
          path: "/wip-tracking/basic-function/personal-special-lot",
          name: "PersonalSpecialLot",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("personal-special-lot")
          },
        },
      ]
    },
    {
      path: "/wip-tracking/special-function",
      name: "SpecialFunction",
      component: () => import("@/views/error/403.vue"),
      meta: {
        keepAlive: true,
        title: $t("special-function")
      },
      children: [
        {
          path: "/wip-tracking/special-function/lot-reassign",
          name: "LotReassign",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-reassign")
          },
        },
        {
          path: "/wip-tracking/special-function/dummy-lot-reassign",
          name: "DummyLotReassign",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("dummy-lot-reassign")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-future-hold",
          name: "BatchFutureHold",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-future-hold")
          },
        },
        {
          path: "/wip-tracking/special-function/future-hold-by-product",
          name: "FutureHoldByProduct",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("future-hold-by-product")
          },
        },
        {
          path: "/wip-tracking/special-function/super-release-lot",
          name: "SuperReleaseLot",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("super-release-lot")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-release",
          name: "BatchRelease",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-release")
          },
        },
        {
          path: "/wip-tracking/special-function/post-future-hold-by-product",
          name: "PostFutureHoldByProduct",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("post-future-hold-by-product")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-bank-in",
          name: "BatchBankIn",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-bank-in")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-bank-out",
          name: "BatchBankOut",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-bank-out")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-adjust-lot",
          name: "BatchAdjustLot",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-adjust-lot")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-cancel-future-hold",
          name: "BatchCancelFutureHold",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-cancel-future-hold")
          },
        },
        {
          path: "/wip-tracking/special-function/batch-run",
          name: "BatchRun",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("batch-run")
          },
        },
      ]
    },
    {
      path: "/wip-tracking/wip-view",
      name: "WipView",
      component: () => import("@/views/error/403.vue"),
      meta: {
        keepAlive: true,
        title: $t("wip-view")
      },
      children: [
        {
          path: "/wip-tracking/wip-view/fetch-step",
          name: "FetchStep",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("fetch-step")
          },
        },
        {
          path: "/wip-tracking/lot-bonding-info",
          name: "LotBondingInfo",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-bonding-info")
          },
        },
        {
          path: "/wip-tracking/wip-view/lot-edc-data",
          name: "LotEDCData",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("lot-trans-history")
          },
        },
        {
          path: "/wip-tracking/wip-view/bonded-wafer-info",
          name: "BondedWaferInfo",
          component: () => import("@/views/error/403.vue"),
          meta: {
            keepAlive: true,
            title: $t("bonded-wafer-info")
          },
        },
      ]
    },
  ]

};
